
namespace Ops.Mpc.ValidationServices
{
	/// <summary>
    /// Summary description for ValidationResult.
	/// </summary>
	public class ValidationResult
	{

		#region Creation 
        public ValidationResult()
        {

        }

		public ValidationResult(object sender,string property,string reason)
		{
			this.Property = property;
			this.Reason = reason;
            this.Sender = sender;
		}
 
		#endregion 

		#region Properties
        
        public object Sender
        {
            get;
            set;
        }
        public string Property
        {
            get;
            set;
        }
       
        public string Reason
        {
            get;
            set;
        }

		public override string ToString()
		{
			return this.Reason;
		}

		#endregion 

	}
}